package com.pattern.objectcreator.singleton;

/**
 * @author yangguanzan
 * @date 3/15/22
 * @description
 */
public class Singleton {
    private  static final Singleton INSTANCE = new Singleton();

    private Singleton(){
        //禁止new实例化
    }

    public static Singleton instance(){
        return INSTANCE;
    }

}
